using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using yoyosoft.BookList.Authorization.Roles;
using yoyosoft.BookList.Authorization.Users;
using yoyosoft.BookList.MultiTenancy;
using yoyosoft.BookList.BookListManagement.CloudBookList;
using yoyosoft.BookList.BookListManagement.Book;
using yoyosoft.BookList.BookListManagement.BookTag;

namespace yoyosoft.BookList.EntityFrameworkCore
{
    public class BookListDbContext : AbpZeroDbContext<Tenant, Role, User, BookListDbContext>
    {
        /* Define a DbSet for each entity of the application */

        public DbSet<CloudBooklist> CloudBooklist { get;set;}
        public DbSet<Book> Book { get; set; }
        public DbSet<BookTag> BookTag { get; set; }

        public BookListDbContext(DbContextOptions<BookListDbContext> options)
            : base(options)
        {
        }
    }
}
